package com.earthchen.demo.domain;

import com.baomidou.mybatisplus.annotations.TableName;
import com.earthchen.core.domain.SuperEntity;


/**
 * 角色资源关系实体
 */
@TableName("sys_role_resource")
public class SysRoleResource extends SuperEntity<SysRoleResource> {

    private Long roleId;

    private Long resourceId;

    public Long getResourceId() {
        return resourceId;
    }

    public void setResourceId(Long resourceId) {
        this.resourceId = resourceId;
    }

    public Long getRoleId() {
        return roleId;
    }

    public void setRoleId(Long roleId) {
        this.roleId = roleId;
    }

    @Override
    public String toString() {
        return "SysRoleResource{" +
                "roleId=" + roleId +
                ", resourceId=" + resourceId +
                '}';
    }
}